
package com.idealighter.game.games.happyfive.handler;

import com.idealighter.game.core.annotation.ResMsgHandler;
import com.idealighter.game.games.happyfive.HappyFivePlayer;
import com.idealighter.game.message.core.ResMessage;
import com.idealighter.game.robot.core.Player;
import com.idealighter.game.robot.handler.ResMessageHandler;


@ResMsgHandler(507225)
public class ResLightCardHandler implements ResMessageHandler {

  // private static final Logger LOG = LoggerFactory.getLogger(ResLightCardHandler.class);

  @Override
  public void action(Player player, ResMessage message) {
    // ResLightCardMsg msg = (ResLightCardMsg) message;
    HappyFivePlayer happyFivePlayer = (HappyFivePlayer) player;
    happyFivePlayer.isLighCard = true;
  }
}
